package com.suoluo.zenadmin.vo.trip;

import com.google.gson.Gson;

public class UpdateTripStepVO {

	private String data;
	
	private boolean next;

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}
	
	public UpdateTripTripdestVO buildUpdateTripTripdest(){
		Gson gson = new Gson();
		return gson.fromJson(data, UpdateTripTripdestVO.class);
	}
	
	public UpdateTripDailyLocationVO buildUpdateTripDailyLocation(){
		Gson gson = new Gson();
		return gson.fromJson(data, UpdateTripDailyLocationVO.class);
	}

	public boolean isNext() {
		return next;
	}

	public void setNext(boolean next) {
		this.next = next;
	}
	
}
